<?php 

// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die();
 
jimport( 'joomla.application.component.model' );
require (JPATH_COMPONENT . DS . 'config.shop.php');
class ShopModelSettings extends JModel
{
    
    
    function getPayment()
    {
		$db = &JFactory::getDBO();
		$query = "SELECT * FROM #__nix_payment";
		$db->setQuery($query);
		
	    return $db->loadObjectList();
    }
	
	function getDelivery()
    {
		$db = &JFactory::getDBO();
		$query = "SELECT * FROM #__nix_delivery";
		$db->setQuery($query);
		
	    return $db->loadObjectList();
    }
	
	function saveConfig()
	{
		
	}	
}
?>